package org.deadline.service.config;

import java.util.List;
import org.deadline.model.config.Preference;

public interface PreferenceService {

	public abstract long countAllPreferences();


	public abstract void deletePreference(Preference preference);


	public abstract Preference findPreference(Long id);


	public abstract List<Preference> findAllPreferences();


	public abstract List<Preference> findPreferenceEntries(int firstResult, int maxResults);


	public abstract void savePreference(Preference preference);


	public abstract Preference updatePreference(Preference preference);

}
